﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace ArmoryViewer.Classes
{
    public class Localizations
    {
        private CultureInfo Culture { get; set; }

        private Localizations(CultureInfo culture)
        {
            Culture = culture;
        }

        public static implicit operator Localizations(CultureInfo value)
        {
            return new Localizations(value);
        }

        public CultureInfo ToCultureInfo()
        {
            return Culture;
        }

        public static CultureInfo English { get { return new CultureInfo("en-US"); } }
        public static CultureInfo Spanish { get { return new CultureInfo("es-ES"); } }
    }
}
